
<!-- 主页面开始 -->

<script src="/Public/Js/jquery.js"></script>
<script src="/Public/Js/my.js"></script>  
 <form name="ruku" enctype="application/x-www-form-urlencoded" method="post"  action="__URL__/act_depot"  class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">  
<div class="pageHeader">

        <div class="title">入库退货</div>
        <!--  功能操作区域  -->
        <div class="operate" >
            <!-- 查询区域 -->
            <div class="fRig">

            </div>
            <!-- 高级查询区域 -->
            <div  id="searchM" class=" none search cBoth" >
            </div>
          
        </div>
        <!-- 功能操作区域结束 -->
        <!-- 列表显示区域  -->
   
       
<table width="100%" border="0"><input type="hidden" name="reportid" value="{$vo.id}" /><input type="hidden" name="spec" value="tuihuo" />
<tr>
  <td>签收人</td>
  <td><input name="reciver" type="text" value="{$vo.reciver}" /></td>
    <td>选择仓库</td>
  <td><select name="store" id="store">
    <option value="0">总库</option>
    <option value="1">南翔店</option>
    <option value="2">浦东店</option>
  </select></td>
  </tr>
</table>
</div>

<div class="pageContent" >
<table width="100%" border="0">  
  <tr>
    <td>退货项目明细</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
  <tr>
    <td>序号</td>
    <td>系列</td>
    <td>品名</td>
    <td>规格</td>
    <td>编号</td>
    <td>退货数量</td>
    <td><input type="button"  id="additem" value="增加条目"  onclick="addstockoutitem()" /></td>
  </tr>
  <tr class="goods" style="display:none;"></tr>
	<tr class="goods">
	  <td><span class="order">1</span></td>
	  <td><input type="text" name="items[][brand]"/></td>
	  <td><input type="text" name="items[][product_name]"/></td>
	  <td><input type="text" name="items[][unit]"/></td>
	  <td><input type="text" name="items[][product_code]"/></td>
	  <td><input type="text" name="items[][number]"/></td>
	  <td><input type="button"  value="移除条目"  onclick="removestockitem(event)"/></td>
	  </tr>
    <tr class="goods">
      <td><span class="order">2</span></td>
      <td><input type="text" name="items[][brand]"/></td>
      <td><input type="text" name="items[][product_name]"/></td>
      <td><input type="text" name="items[][unit]"/></td>
      <td><input type="text" name="items[][product_code]"/></td>
      <td><input type="text" name="items[][number]"/></td>
      <td><input type="button"  value="移除条目"  onclick="removestockitem(event)"/></td>
    </tr>
    <tr class="goods">
      <td><span class="order">3</span></td>
      <td><input type="text" name="items[][brand]"/></td>
      <td><input type="text" name="items[][product_name]"/></td>
      <td><input type="text" name="items[][unit]"/></td>
      <td><input type="text" name="items[][product_code]"/></td>
      <td><input type="text" name="items[][number]"/></td>
      <td><input type="button"  value="移除条目"  onclick="removestockitem(event)"/></td>
    </tr>
    <tr class="goods">
      <td><span class="order">4</span></td>
      <td><input type="text" name="items[][brand]"/></td>
      <td><input type="text" name="items[][product_name]"/></td>
      <td><input type="text" name="items[][unit]"/></td>
      <td><input type="text" name="items[][product_code]"/></td>
      <td><input type="text" name="items[][number]"/></td>
      <td><input type="button"  value="移除条目"  onclick="removestockitem(event)"/></td>
    </tr>
    <tr class="goods">
      <td><span class="order">5</span></td>
      <td><input type="text" name="items[][brand]"/></td>
      <td><input type="text" name="items[][product_name]"/></td>
      <td><input type="text" name="items[][unit]"/></td>
      <td><input type="text" name="items[][product_code]"/></td>
      <td><input type="text" name="items[][number]"/></td>
      <td><input type="button"  value="移除条目"  onclick="removestockitem(event)"/></td>
    </tr>   
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><span id="sum"></span></td>
    <td>&nbsp;</td>
    </tr>
</table>
<br />
<table width="100%" border="0">
  <tr>
    <td>备注说明</td>
  </tr>
  <tr>
    <td><textarea name="note">{$vo.note}</textarea></td>
  </tr>
  <tr>
    <td>操作人姓名{$Think.session.loginUserName}退货时间
      <input class="date textInput readonly" format="yyyy-MM-dd HH:mm:ss" name="date" type="text" value="{:date('Y-m-d H:m:s')}" />
      退货单号{$number}<input type="hidden" name="number" value="{$number}" /></td>
  </tr>
  <tr>
  	<td align="right"><input name="重置" type="reset" value="重置" /><input type="submit" value="提交" /><input type="button"  value="打印"/></td>
   </tr>
</table>


   
        <div class="page"></div>
       </div>
	   </form>
